'''
Created on 2012-9-28

@author: infear
'''
import shelve
s=shelve.open(filename="test",writeback=True);
s['x']=['a','b'];
s['x'].append('c');
print s['x']